import api from '@/api/index.ts'

// 获取列表
export function GetData(params: any) {
  return api.get('/api/skincheck/ticket/list', { params })
}
// 获取企微消息组详情
export function GetDataDetail(id: string) {
  return api.get(`/api/skincheck/ticket/detail/${id}`)
}
// 添加
export function PostCreateData(params: any) {
  return api.post('/api/skincheck/ticket/create', params)
}
// 编辑
export function PutModifyData(params: any) {
  return api.put('/api/skincheck/ticket/modify', params)
}
// 修改状态
export function PatchModifyType(params: any) {
  return api.patch('/api/skincheck/ticket/modifystatus', params)
}

// 获取测肤券发券记录列表
export function GetSentData(params: any) {
  return api.get('/api/skincheck/ticket/sentlist', { params })
}
// 获取连连看发券记录列表列表
export function GetllksentData(params: any) {
  return api.get('/api/skincheck/ticket/llksentlist', { params })
}
